package com.huashizhaoxi.lionapp.service;

import com.huashizhaoxi.lionapp.entity.FruitOrderChild;
import com.huashizhaoxi.lionapp.entity.FruitOrderMain;
import com.huashizhaoxi.lionapp.entity.complexType.FruitOrderComplexType;

import java.util.List;


public interface FruitOrderService {

    void addFruitMainOrder(FruitOrderMain fruitOrderMain);

    int addFruitChildOrder(List<FruitOrderChild> fruitOrderChild);

    List<FruitOrderMain> getValidFruitOrder();

    List<FruitOrderChild> getFruitOrderChildList(int id);

    List<FruitOrderComplexType> getFruitOrderComplexTypeList(int id);
}
